home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gBackgroundVolume, gWhereFrom, gBackgroundSound, gLastLoop, gWhichSound1, gWhichSound2, gWhichSound3, gWhichSound4, gWhichSound5, gWhichSound6, gWhichSound7, gWhichSound8, gWhichSound9, gWhichSound10, gWhichSound11
- set the visible of sprite 48 to 0
- set gLastLoop to 0
- set the volume of sound 1 to 0
- sound stop 1
- set the volume of sound 2 to gBackgroundVolume
- repeat with i = 3 to 15
- set the volume of sound i to 0
- end repeat
- repeat with i = 3 to 15
- sound stop i
- end repeat
- updateStage()
- set gWhichSound1 to EMPTY
- set gWhichSound2 to EMPTY
- set gWhichSound3 to EMPTY
- set gWhichSound4 to EMPTY
- set gWhichSound5 to EMPTY
- set gWhichSound6 to EMPTY
- set gWhichSound7 to EMPTY
- set gWhichSound8 to EMPTY
- set gWhichSound9 to EMPTY
- set gWhichSound10 to EMPTY
- set gWhichSound11 to EMPTY
- repeat with i = 30 to 35
- set the visible of sprite i to 0
- end repeat
- repeat with i = 1 to 48
- puppetSprite(i, 0)
- end repeat
- sound playFile 2, getpn() & "Sounds:Bckgrd" & gBackgroundSound & ".aif"
- go(gWhereFrom)
- end
-